﻿namespace GameEditor.Common
{
    /************************************************************************/
    /* 脚本类型                                                             */
    /************************************************************************/
    public enum ScriptType
    {
        NORMAL,//一般脚本
        TASK, //任务
        AI,
        SCENE, //战术场景
        DIALOG  //对话脚本
    };

    //脚本编辑器中用于自动完成的图标顺序
    //图标文件：EditorData\resources\compluslm_1267.png包含了13个图标
    //这里是每种类型对应的图标的下标
    public enum ImageIndex
    {
        Object,
        Interface,
        Package,
        Enum,
        Skip1,
        Field,
        Function,
        Property,
        Method,
        Skip2,
        Skip3,
        Table,
        Known
    }

    //战略场景编辑器用的显示模式
    public enum SceneEditorDisplayMode
    {

        BornSphere = 0x0001,//出生范围
        AttackSphere = 0x0002,//攻击范围
        GuardShpere = 0x0004,//守卫范围
        WalkSphere = 0x0008,//行走范围
        ChaseSphere = 0x0010, //追击范围

        FocusMoster=0x0020,//自动追踪选中怪物
        HideMonster=0x0040,//隐藏怪物
        HideRoadPoint=0x0080,//隐藏路点
        PolygonMode = 0x0100//线框模式        
    }

    //战略场景编辑器操作模式
    public enum SceneOperationMode
    {
        Select,         //选择模式
        SeedNPC,        //刷怪模式
        SeedPoint,      //路点模式
        SeedRelivePoint,//种复活点
        SeedPath,       //种怪的巡逻路径
        SeedTransfer,   //种传送点
        EventArea,      //种事件区域
        SeedSignpost,        //路标
        SeedFogPoint,
        SeedLineSoundObject, //线音效
        SeedSoundLinesegment    //音效的线段
    }

    public class SceneMonster
    {
        private uint id;
        private string name;
        private int level;

        public uint ID
        {
            get
            {
                return id;
            }
            set
            {
                id=value;
            }
        }

        public string Name
        {
            get
            {
                return name;
            }
            set
            {
                name=value;
            }
        }

        public int Level
        {
            get
            {
                return level;
            }
            set
            {
                level=value;
            }
        }

    }
}